/*
 * @Author: lyztroy lyztroy@bupt.edu.cn
 * @Date: 2021-12-12 22:06:25
 * @LastEditors: lyztroy lyztroy@bupt.edu.cn
 * @LastEditTime: 2022-06-12 17:24:52
 * @FilePath: /visualNotes/src/components/Edge/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import Association from "./Association";
import Depend from "./Depend";
import ResponseMsg from "./ResponseMsg";
import Transfer from "./Transfer";
import Equation from "./Equation";
import Constraint from "./Constraint";
import Contain from"./Contain";
import Lifeline from"./Lifeline";
import Conform from"./Conform";
import Connect from"./Connect";
import Generalization from"./Generalization";
import Quote from"./Quote";
import Solve from"./Solve";
import CreateMsg from"./CreateMsg";
import AsynchronousMsg from"./AsynchronousMsg";
import SynchronousMsg from"./SynchronousMsg";

export interface EdgeProps {
  id: string;
  sourceX?: any;
  sourceY?: any;
  targetX?: any;
  targetY?: any;
  sourcePosition?: any;
  targetPosition?: any;
  style?: any;
  data?: any;
  markerEnd?: any;
  icon?: string;
}

const edgeTypes = {
  Association,
  Depend,
  ResponseMsg,
  Transfer,
  Equation,
  Constraint,
  Contain,
  Lifeline,
  Conform,
  Connect,
  Generalization,
  Quote,
  Solve,
  CreateMsg,
  AsynchronousMsg,
  SynchronousMsg,
};
export default edgeTypes;
